<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../common/javascript/common.jsp" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- JAVASCRIPT -->
<script type="text/javascript">
$(document).ready(function(){
	alert(hello);
})
</script>
<script type="text/javascript" src="<%=request.getContextPath()%>/application/js/tools/tools.js"></script>
</head>
<body>
	<h1>Users</h1>
	<table class="normal tablesorter fullwidth">
		<thead>
			<tr>
				<th>Select</th>
				<th>No</th>
				<th>User Name</th>
				<th>Full Name</th>
				<th>Registered</th>
			</tr>
		</thead>
		<tbody>  
			<s:iterator value="userList" status="st">
			<tr class="odd">
				<td><input type="checkbox" class="iphone" id="ids" name="ids" value="<s:property value="userid"/>"/></td>
				<td><s:property value="#st.index+1"/></td>
				<td><s:property value="username"/></td>
				<td><s:property value="fullname"/></td>
				<td><s:property value="registered"/></td>
			</tr>
			</s:iterator>
		</tbody>
		<tfoot>
			<tr>
				<td colspan="5" align="right">
					<a href="toUserAdd" target="_self" title="Delete this user" class="button icon add">Add</a>
					<a id="userEdit" title="Edit this user" class="button icon edit">Edit</a> 
					<a id="userDelete" title="Delete this user" class="button icon remove danger">Delete</a>
				</td>
			</tr>
		</tfoot>
	</table>
</body>
</html>